
#include <stdio.h>
#include <BReadWrite>
#include <BCamera>
#include <BLight>
#include <BApplication>

#include "TextWidget.h"
#include "DragWidget.h"
#include "SceneViewer.h"
#include "MainWindow.h"

using namespace BWE;

int main(int argc, char** argv)
{
	BFont* font = new BFont("times", 20);
	font->setEncoding(Encoding_GB2312);

	BApplication app;
	app.style()->setFont(font);

	MainWindow* mw = new MainWindow();
	mw->setTitle("main window");
	mw->setMargins(10);

	//DragWidget* dragWidget = new DragWidget(mw);
	//dragWidget->raise();
	//DragWidget* dragWidget0 = new DragWidget(mw);
	//dragWidget0->raise();

	//BLineEdit* edit = new BLineEdit(mw);
	//edit->setRect(200, 200, 100, 32);

	mw->show();

	return app.execute();
}

